//
//  ImageSlideAndButtonsViewController.h
//  ubixar-framework
//
//  Created by Demis Bellot on 23/04/2009.
//  Copyright 2009 Ubixar. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface ImageSlideAndButtonsViewController : UIViewController {
    UIImageView *imageView;
    UIButton* lastSelectedButton;
	NSMutableArray* images;
	NSMutableArray* buttons;
	NSUInteger selectedIndex;
}

@property (nonatomic, retain) NSMutableArray *images;
@property (nonatomic, retain) NSMutableArray *buttons;
@property (nonatomic, retain) UIImageView *imageView;
@property (readwrite) NSUInteger selectedIndex;

- (void)setImageNames:(NSArray*)imageNames 
		  buttonNames:(NSArray*)buttonNames
	 firstButtonFrame:(CGRect)firstButtonFrame
		buttonPadding:(CGPoint)buttonPadding;

- (void)imageButtonWasPressed: (UIButton*)button;
- (UIImage*) currentImage;

@end
